Build & Play opens your finished game in the Play tab, on Gbabel's own screen - with pause, step, speed, sound, full screen, the Inspector beside it and a saved game that stays with your project, and moments you can go back to.
When you press Build & Play, you want to see your game. The Play tab is where it appears: your finished game, right inside Gbabel, on Gbabel's own screen with Gbabel's own buttons. There is no other program to open, nothing to close afterwards, and nothing that can get in the way of Gbabel's keys. A Release Build plays here too.
The Play tab appears in the tab bar when your game starts. Its ✕ closes it: the game stops (your saved game is kept) and Gbabel goes back to the tab you were on. The next Build & Play opens it again.
Play inside Gbabel is on unless you turn it off. You will find it in two places:
Open ROM folder (in the Build menu) opens the folder that holds the game your last build made, with the game file picked out, so you can copy it to a flash cartridge or send it to someone. Before the first build it is grayed and says Build the game first.
When it is off, a finished build opens in the emulator program you chose in Setup, the way it did before.
| Key | What it does in the game |
|---|---|
| W A S D | The directional pad (W up, A left, S down, D right) |
| Up arrow | A button |
| Down arrow | B button |
| Left arrow | L shoulder button |
| Right arrow | R shoulder button |
| Enter | Start |
| Backspace | Select |
Those are the usual keys for a Game Boy Advance game. Each console has its own controller, and the tab shows the one for the console your game is made for:
They are yours to change: the Controls button at the bottom of the tab opens a table with one row for each button of that console. Each console keeps its own keys, so changing one never changes another.
To change a key, click the key (or the Change button on its row). It says Press a key... - press the key you want and it is the new one, at once, even in a game that is running. Esc cancels.
Your keys are kept on this computer, for every project - they are yours, not part of any game - so they are still there the next time you open Gbabel.
Show Gamepad. The Show Gamepad button (beside Controls) puts the console's own buttons on the screen: on a Game Boy Advance the cross and L on the left, R, B and A on the right, Select and Start under the game; on a Genesis the cross on the left, X Y Z over A B C on the right, Mode and Start under the game; on a Game Boy Color or Game Boy the cross on the left, B and A on the right, Select and Start under the game. Click or touch them to play. Each finger is its own press, so Right and A together work with two thumbs, and a thumb in a corner of the cross presses two directions. The buttons are big enough for a phone; the choice is kept on this computer. The keyboard and a real gamepad keep working. Hide Gamepad takes them away.
Gamepad. If a gamepad is plugged in (press one of its buttons once so the browser can see it), the Controls table says Gamepad connected and gets a Gamepad column. A gamepad works straight away: the d-pad or the left stick, the right button for A, the bottom one for B, the shoulders for L and R, and its Start and Back buttons. Click a gamepad cell, then press the button you want, to change it the same way as a key.
The rule for keys. While the Play tab is showing and a game is loaded, these keys play the game, and every other one-key shortcut of the editor is turned off, so a stray key cannot change something behind your back (a P will not switch the Room Editor to its paint tool while you are looking at the game). These keep working: Ctrl shortcuts such as Ctrl+S and Ctrl+B, the F keys, Tab, Esc and Q. When a window is open on top of Gbabel (Setup, a question), the keys go to that window, not the game.
| Button | What it does |
|---|---|
| Pause / Play | Holds the game, or lets it go on. |
| Restart | Starts the game again from the very beginning. The saved game stays. |
| Step one frame | Only while the game is paused: plays exactly one frame and holds again. Press it again for the next one. |
| Speed | 1/2x (half speed, to see what happens), 1x (normal), 2x and 4x (fast forward; the sound is off). |
| Sound on / off and the slider | Mutes the sound, or sets the volume. Gbabel remembers both. |
| Sharp / Fill the window | Sharp blows the picture up by a whole number (2x, 3x, 4x ...) so every game pixel is exactly the same size, and picks the biggest one that fits. Fill the window makes the picture as big as it can be, any size. Neither one blurs the pixels. |
| Full screen | Shows the game on your whole screen. Esc leaves it. |
| Quick save / Quick load | Keep the game as it is in the Quick moment, and go back to it. |
| Moments | Opens the four moments and the Quick moment: save, go back, clear. |
| Controls | Shows which keys play the game, and lets you change them (and a gamepad's buttons). |
| Erase saved game | Empties the game's saved game and restarts the game. It asks first. |
The top of the tab shows the game's name, whether it is a Development Build or a Release Build, the size of its screen, and Playing or Paused.
While the Play tab is showing, the build window (the one with the Build, Search and Inspector tabs) moves to the right edge, beside the game: the whole height of the tab, about 390 pixels wide, with the Inspector selected. The game takes all the room that is left, so it is as big as it can be, and the window never covers the buttons under the screen. The Inspector looks inside the game that is playing right here, and its Pause, Step one frame and Resume are the Play tab's own: use either, and both show the same thing.
When you go to another tab, the game pauses. When you come back, it carries on. If you paused it, it stays paused when you come back - you decide when it moves again. The game also pauses while Gbabel is hidden behind other windows or another browser tab, and carries on when it is shown again.
A moment keeps your whole game exactly as it is right now, so you can come back to it later. Press Moments under the screen: you get Moment 1 to Moment 4 and the Quick moment, each with a small picture and when it was saved ("2 minutes ago").
Moments are kept with your project, so they are still there after you close Gbabel and open the project again. Restart and Erase saved game leave them alone, and going back to a moment never changes the game's saved game by itself.
If you built your game again after saving a moment, the moment says from an older build. Going back to it asks you first, because it may not work with the changed game. If a moment cannot be loaded, Gbabel says so and the game carries on as it was.
When your game saves (see the Save group), the player keeps that saved game inside your project, a moment after the game writes it. Close Gbabel, open the project again, press Build & Play, and the saved game is still there. Erase saved game removes it. A copy of a project starts with nothing saved. The saved game is not part of your "unsaved changes": it is written as it happens.
Export as web page (in the Play tab's bar, and in the Build menu) turns your game into one web page that anybody can play with nothing to install: your game, the player and the controls are all inside it.
The Export window has two boxes, and Gbabel remembers both for this game:
The page shows your game's name and a big Play button (a browser only allows sound after a click; Enter, Space or a gamepad button start it too). The keys on the page are W A S D for the directional pad, the Up, Down, Left and Right arrow keys for the A, B, L and R buttons, Backspace for Select and Enter for Start, and players can change them. Under the game are buttons for Pause / Play, Sound and volume, Sharp or Fill zoom, Full screen, Controls and Credits. Players can change the keys and the gamepad buttons in Controls, and their browser remembers the changes. A Game Boy or Game Boy Color game gets a page the right size for its screen.
Each player's saved game is kept in their own browser, under your game's name, so two games on the same web site never mix their saves, and a new version of your game keeps the saves of the old one. The Credits button shows the notices for the player (mGBA and the other free pieces inside it); leave them in.
Export as a Windows program (next to Export as web page, in the Play tab's bar and in the Build menu) turns your game into one .exe file that a player on Windows can open with a double-click. It uses the same Export window as the web page: your credits, the picture time, and the offer to make a Release Build first.
What a player needs and what they will see:
If Export as a Windows program is dimmed, hover over it: it says why (no game is open, or this copy of Gbabel has no Windows player).
A browser only lets a page make sound after you have clicked or pressed a key on it. Pressing Build & Play counts. If the sound still has not started, the tab says Click the game for sound; click the screen once.
Opening another project (or deleting this one) closes the game and clears the Play tab. The game belongs to the project it was built from.
| What you see | What to do |
|---|---|
| The game opened in another program | Play inside Gbabel is off (above). |
| It says Gbabel's own player is not installed | Ask whoever set Gbabel up on this computer to build the player. The game opened in your emulator program meanwhile. |
| No sound | Click the game once, and check Sound on and the slider. |
| The keys do nothing | Click the game screen once, and close any window open on top of Gbabel. |